/* GUI CONVERTED from rcsodqad.p (converter v1.76) Wed Dec 12 05:48:16 2001 */
/* rcsodqad.p - SHIPPER WORKBENCH - CANCEL BACKORDER FLAG UPDATE              */
/* Copyright 1986-2002 QAD Inc., Carpinteria, CA, USA.                        */
/* All rights reserved worldwide.  This is an unpublished work.               */
/* $Revision: 1.4 $                                                           */
/*V8:ConvertMode=Maintenance                                                  */
/* REVISION: 9.1     CREATED: 04/24/00         BY: *L0PR* Kedar Deherkar      */
/* REVISION: 9.1    MODIFIED: 08/12/00         BY: *N0KP* Mark Brown          */
/* $Revision: 1.4 $    BY: Jean Miller           DATE: 12/07/01  ECO: *P03F*  */
/******************************************************************************/
/* All patch markers and commented out code have been removed from the source */
/* code below. For all future modifications to this file, any code which is   */
/* no longer required should be deleted and no in-line patch markers should   */
/* be added.  The ECO marker should only be included in the Revision History. */
/******************************************************************************/

{mfdeclre.i}

/* INPUT PARAMETER */
define input parameter l_cancel_bo     like mfc_logical    no-undo.
define input parameter sonbr           like abs_order      no-undo.
define input parameter soline          like abs_line       no-undo.

find first sod_det where sod_nbr  = sonbr   and
                         sod_line = integer(soline)
exclusive-lock no-error.

if available sod_det then
   sod__qadl01 = l_cancel_bo.
